<?php

namespace sample\filter;

use pmvc\mvc\filter\AbstractRequestFilter;
use pmvc\mvc\RequestChain;
use pmvc\mvc\Request;
use pmvc\mvc\Response;
use pmvc\log\Log;

class SampleRequestFilter
	extends AbstractRequestFilter {

    public function handleRequest(RequestChain $chain, Request $request, Response $response) {
    	Log::debug(__CLASS__, "Hello from SampleRequestFilter::handleRequest() before");
    	$chain->next($request, $response);
    	Log::debug(__CLASS__, "Hello from SampleRequestFilter::handleRequest() after");
    }
}

?>